﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 催收管理表
    /// </summary>
    public class Urge: AuditFiled<int>
    {
        /// <summary>
        /// 客户id
        /// </summary>
        public int? ClientId { get; set; }

        /// <summary>
        /// 契约编号
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? Client { get; set; }

        /// <summary>
        /// 还款期次
        /// </summary>
        public string? Count { get; set; }

        /// <summary>
        /// 合同保证金
        /// </summary>
        public decimal? Contractmoney { get; set; }

        /// <summary>
        /// 已退金额
        /// </summary>
        public decimal? Returnmoney { get; set; }

        /// <summary>
        /// 剩余保证金
        /// </summary>
        public decimal? Leftmoney { get; set; }

        /// <summary>
        /// 类型Id
        /// </summary>
        public int? ClientTypeId { get; set; }

        /// <summary>
        /// 业务经办Id
        /// </summary>
        public int? BusinessId { get; set; }

        /// <summary>
        /// 保证金状态
        /// </summary>
        public int? MoneystateID { get; set; }

                                                                                                                                                                       /// <summary>
        /// 起租日期
        /// </summary>
        public DateTime? Starttime { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? Endtime { get; set; }
    }
}
